projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38ccd84
)
malloc->xmalloc.
author
robertl
<robertl>
Tue, 21 Jun 2005 06:15:46 +0000
(06:15 +0000)
committer
robertl
<robertl>
Tue, 21 Jun 2005 06:15:46 +0000
(06:15 +0000)
kml.c
patch
|
blob
|
history
diff --git
a/kml.c
b/kml.c
index 4fd3a8616f62a4f675cd9fe6347beaaf76bdb13c..d7c5fa35667f9308c0837e92009b08381a8e83e0 100644
(file)
--- a/
kml.c
+++ b/
kml.c
@@
-208,7
+208,7
@@
static void kml_output_header(const route_head *header)
// Create an array for holding waypoint coordinates so that we
// can produce a LineString at the end.
- point3d_list = (point3d *) malloc(header->rte_waypt_ct * sizeof(point3d));
+ point3d_list = (point3d *)
x
malloc(header->rte_waypt_ct * sizeof(point3d));
point3d_list_len = 0;
}